package com.hirain.fbg.sys.service.impl;

import com.hirain.fbg.sys.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by caicf on 2016/7/11.
 */
@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    private TUserMapper userMapper;

    public User getUser(String username) {
        return userMapper.selectUserByUsername(username);
    }

}
